Reverse Engineering of the Interaction Diagrams from C++ Code

نویسندگان

  • Paolo Tonella
  • Alessandra Potrich
چکیده

In object oriented programming, the functionalities of a system result from the interactions (message exchanges) among the objects allocated by the system. While designing object interactions is far more complex than designing the object structure in forward engineering, the problem of understanding object interactions during code evolution is even harder, because the related information is spread across the code. In this paper, a technique for the automatic extraction of UML interaction diagrams from C++ code is proposed. The algorithm is based on a static, conservative flow analysis, that approximates the behavior of the system in any execution and for any possible input. Applicability of the approach to large software is achieved by means of two mechanisms: partial analysis and focusing. Usage of our method on a real world, large C++ system confirmed its viability.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Acquiring Domain Knowledge in Reverse Engineering Legacy Code into UML

The focus of this paper is on the systemization of the acquisition of domain knowledge during the process of reverse engineering legacy systems into UML. The domain knowledge of a legacy system is derived from this system’s data environment, input and output data, documents, stakeholders, specific programming language(s) used, source code, and underlying operating system. This knowledge is appl...

متن کامل

Overview of Software Tools for Obtaining UML Class Diagrams and Sequence Diagrams from Source Code within TFM4MDA

Topological Functioning Modeling for Model Driven Architecture (TFM4MDA) is an approach for software development starting from formal domain models. We plan to enhance TFM4MDA with reverse engineering principles in order to decrease a number of errors during software migration to other platforms or integration with other systems. TFM4MDA foresees the preliminary analysis of the target software ...

متن کامل

Reverse Engineering: An Analysis of Dynamic Behavior of Object Oriented Programs by Extracting UML Interaction Diagram

The Unified Modeling Language (UML) is widely used as a high level object oriented specification language. UML is a good target language for the reverse engineering models since it is largely used and offers different diagrams. In this paper we present a novel approach in which reverse engineering is performed using UML as the modeling language used to achieve a representation of the implemente...

متن کامل

Recovering Activity Diagrams from Object Oriented Code: an MDA-based Approach

The success of system modernization depends on the existence of technical frameworks for information integration and tool interoperation like the Model Driven Architecture (MDA). Reverse engineering techniques play a crucial role in system modernization. This paper describes how to reverse engineering activity diagrams from object oriented code in the MDA context focusing on transformations at ...

متن کامل

Evaluating 3D-Visualisation of Code Structures in the Context of Reverse Engineering

In reverse engineering it is a common approach to generate UML diagrams from code, capturing technical details as well as structural static relations between, e.g., packages and classes. It can be observed, however, that it is hard to depict large object-oriented systems in such a way that particulary unknown legacy code can be visually explored to comprehend it for effective maintenance. Our c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003